﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CVSAMaster.Master" AutoEventWireup="true"
    CodeBehind="CorretorasPorSistemas.aspx.cs" Inherits="CVSA.Suporte.Sinacor.BMFBovespa.ConsultaCorretoras.CorretorasPorSistemas" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        body
        {
            font-family: Calibri;
            font-size: 11pt;
            border: solid 1px;
            margin: 0px;
        }
        .style1
        {
            vertical-align: top;
            width: 160px;
        }
        .tb
        {
            margin-left: 40px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p align="center" style="font-size: 15pt">
        Pesquisa de Corretoras por Sistema(s)
    </p>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table class="tb">
                <tr>
                    <td class="style1">
                        <b>Selecione o(s) sistema(s):</b>
                    </td>
                    <td style="vertical-align: top">
                        <asp:CheckBoxList runat="server" ID="lstSistemas" RepeatColumns="4" Style="vertical-align: top"
                            Width="850px" />
                        <asp:UpdateProgress ID="updProgress" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
                            <ProgressTemplate>
                                Carregando...
                            </ProgressTemplate>
                        </asp:UpdateProgress>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td align="right">
                        <asp:Button runat="server" ID="btnPesquisar" OnClick="btnPesquisar_Click" Text="Pesquisar" />
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:GridView runat="server" ID="gvCorretoras" AutoGenerateColumns="False" BackColor="White"
                            BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black"
                            GridLines="Vertical" Width="100%" EmptyDataText="Nenhuma corretora encontrada com estes critérios.">
                            <Columns>
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <a href='ConsultaCorretoras.aspx?codCorretora=<%#Eval("CD_CORRET") %>'>
                                            <%#Eval("NM_CORRET") %></a>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <FooterStyle BackColor="#CCCCCC" />
                            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="#CCCCCC" />
                        </asp:GridView>
                    </td>
                </tr>
                </td> </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
